import Vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
import Element from './views/element.vue'
import Iview from './views/iview.vue'
import Ant from './views/ant.vue'
import Form from './views/form.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'element',
      component: Element,
    },
    {
      path: '/iview',
      name: 'iview',
      component: Iview,
    },
    {
      path: '/ant',
      name: 'ant',
      component: Ant,
    },
    {
      path:'/form',
      name:'form',
      component:Form,
    },
  ]
})
